/*个人中心*/

.personal {
    float: left;
    height: 42px;
    line-height: 42px;
    margin-left: 30px;
}

.personal dt,
.personal dd {
    float: left;
}

.login {
    position: relative;
    /* 转换为行内块元素 */
    display: inline-block;
}

.login span {
    width: 50px;
    height: 40px;
    display: inline-block;
    background-color: #4CAF50;
}

.login span a {
    color: #ffffff;
    padding-left: 9px;
}

.login1 {
    /* 起先设置为隐藏 */
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 50px;
    box-shadow: 0px 8px 16px 0 px rgba(0, 0, 0, 0.2);
}

.login1 p {
    text-align: center;
}

.login:hover .login1 {
    display: block;
}

.login span:hover {
    background-color: #3E8D41;
}

.personal s {
    position: relative;
    padding: 0 20px;
    text-decoration: none;
}


/* 设置图片上的小红点 */

.personal s::before {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    background-color: red;
    border-radius: 50%;
    position: absolute;
    right: 20px;
    top: 0;
}

.personal span img {
    border-radius: 50%;
    margin-right: 5px;
    transition: all 0.5s;
}

.personal span img:hover {
    transform: rotate(360deg);
}